8 typedef pair
<ll
, ll
> point
;
9 typedef pair
<point
, ll
> disc
;
12 inline ll
distsqr(const point
&a
, const point
&b
){
13 return (a
.first
- b
.first
)*(a
.first
- b
.first
) + (a
.second
- b
.second
)*(a
.second
- b
.second
);
19 while (scanf("%d", &n
) && (n
> 0)){
22 for (int i
=0; i
<n
; ++i
){
25 d
[i
] = disc(point(x
,y
), r
);
30 for (int i
=1; i
< n
&& ok
; ++i
){
31 for (int j
=0; j
<i
&& ok
; ++j
){
32 if (distsqr(d
[i
].first
, d
[j
].first
) >= (d
[j
].second
* d
[j
].second
)){
39 cout
<< (ok
?"F":"Unf") << "easible";
40 if (!ok
) cout
<< " " << k
;